package com.mall.entity.sys;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Dczzs
 * @since 2020-06-24
 */
@TableName("sys_user")
@Data
@EqualsAndHashCode(callSuper = false)
public class UserEO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    private String username;

    private String password;

    /**
     * 待定

     */
    private Integer type;

    /**
     * 0=女，1=男
     */
    private Integer sex;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 昵称
     */
    private String nicheng;
 
    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private String imgUrl;


}
